package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`demo`")
@Data
@ApiModel("")
public class Demo implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键ID", example = "String")
    private String id;
    @Column(name = "`name`")
    @ApiModelProperty(value = "姓名", example = "String")
    private String name;
    @Column(name = "`key_word`")
    @ApiModelProperty(value = "关键词", example = "String")
    private String keyWord;
    @Column(name = "`punch_time`")
    @ApiModelProperty(value = "打卡时间", example = "2019-05-05 17:55:31")
    private Date punchTime;
    @Column(name = "`salary_money`")
    @ApiModelProperty(value = "工资", example = "1.0")
    private BigDecimal salaryMoney;
    @Column(name = "`bonus_money`")
    @ApiModelProperty(value = "奖金", example = "1.0")
    private Double bonusMoney;
    @Column(name = "`sex`")
    @ApiModelProperty(value = "性别{男:1,女:2}", example = "String")
    private String sex;
    @Column(name = "`age`")
    @ApiModelProperty(value = "年龄", example = "1")
    private Integer age;
    @Column(name = "`birthday`")
    @ApiModelProperty(value = "生日", example = )
    private  birthday;
    @Column(name = "`email`")
    @ApiModelProperty(value = "邮箱", example = "String")
    private String email;
    @Column(name = "`content`")
    @ApiModelProperty(value = "个人简介", example = "String")
    private String content;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "修改人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "修改时间", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`sys_org_code`")
    @ApiModelProperty(value = "所属部门编码", example = "String")
    private String sysOrgCode;

    private static final long serialVersionUID = 1L;
}
